package com.xjtu.service;

import com.xjtu.dto.medicationRecord.MedicationDto;
import com.xjtu.result.PageResult;
import com.xjtu.result.Result;
import com.xjtu.vo.medication.MedicationDetailVo;
import com.xjtu.vo.medication.MedicationVo;

import java.util.List;

public interface MedicationService {
    void insert(MedicationDto medicationDto);

    PageResult getTodayFinish(Integer page, Integer perPage);

    PageResult getToday(String elderlyName, Integer page, Integer perPage);

    PageResult getMedication(String elderlyName, Integer page, Integer perPage);

    Result changeById(MedicationDto medicationDto);

    Result deleteById(Long id);
}
